package com.mzj.saas.mservice.property.entity;

import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * 房产余额关联表
 */
@Entity
@Table(name = "saas_house_remaining_relation")
public class HouseRemainingRelation extends IdEntity {


    /**
     * 房产id
     */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /**
     * 余额id
     */
    @Column(name = "remaining_id", nullable = true)
    private Long remainingId;
    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = true)
    private Date createTime;
    /**
     * 收款机构
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Long getRemainingId() {
        return remainingId;
    }

    public void setRemainingId(Long remainingId) {
        this.remainingId = remainingId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }
}
